package com.baox.agridata.synchronous.dao.shanxi;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baox.agridata.synchronous.entity.quanguo.McQyxxs;
import com.baox.agridata.synchronous.entity.shanxi.TXDRSlaughterHouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TXDRSlaughterHouseMapper {

    /**
     * 通过名称去找屠宰场的信息
     *
     * @param displayName
     * @return
     */
    @DS("shanxi")
    TXDRSlaughterHouse getSlaughterByName(@Param("displayName") String displayName);


    /**
     * 屠宰场企业信息
     *
     * @return
     */
    @DS("shanxi")
    List<McQyxxs> getSlaughterHouseList();

}
